#ifndef NAVIGATOR_DATA_H
#define NAVIGATOR_DATA_H

#include <idocumentdata.h>

namespace swp
{

class NavigatorData : public core::IDocumentData
{
public:
    NavigatorData();
    ~NavigatorData();

    Type type() const;
    void setConnectionData(const core::ConnectionData& data);
    const core::ConnectionData& connectionData() const;

    bool supportsConnections() const;
    QList<core::ConnectionData> connections(
        const core::IEditorItem* item) const;
    void clearData(const QList<core::IEditorItem* >& preserve =
        QList<core::IEditorItem* >());
};

} // namespace swp

#endif
